package com.mc.lp.service;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.mc.lp.database.exception.ConcurrentAccessException;
import com.mc.lp.shared.vo.ExtraAcademicRecordVO;
import com.mc.lp.shared.vo.IValueObject;
import com.mc.lp.shared.vo.StudentRecordVO;
/*
 * @author aphanda
 * @date Sep 21, 2014
 * @time 12:45:59 AM
 */

public interface ExtraAcademicService extends IService {
	public IValueObject saveExtraAcademics(StudentRecordVO studentRecordVO)throws DataAccessException, ConcurrentAccessException;
	public IValueObject getExtraAcademicsRecordsByEntityIdGrade(StudentRecordVO studentRecordVO);
	public IValueObject getExtraAcademicsByEntityId(StudentRecordVO studentRecordVO);	
	
	// User related sevices
	public List<ExtraAcademicRecordVO> getExtraAcademicsByGrades(Long studentEntity , List<Integer> gradeValueList);
	public List<ExtraAcademicRecordVO>  getExtraAcademicsByEntityIdGrade(Long entityId, int gradeId);
}
